<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <link rel="stylesheet" href="../../static/personnel/TimeSelector/skin/jedate.css">
    <title>Title</title>
    <style>
        body, html {
            padding: 0px;margin: 0px;width: 100%;height: 100%;
        }
        table {
            border-spacing: 0;
        }
        tr {
            height: 35px;
        }
        th {
            text-align: center;
        }
        .top_tag {
            border-bottom: #01AAED solid 2px;color: #01AAED;
        }
        .a_tag_cla{
            display: block;overflow: hidden;white-space: nowrap;text-overflow: ellipsis;height: 30px;line-height: 30px;padding-left: 1%;
        }
        .tab_top {
            width: 100px;height: 40px;line-height: 40px;text-align: center;display: inline-block;cursor: pointer;
        }
        .file {
            position: relative;display: inline-block;background: #D0EEFF;border: 1px solid #99D3F5;border-radius: 4px;padding: 4px 12px;overflow: hidden;color: #1E88C7;text-decoration: none;text-indent: 0;line-height: 20px;
        }
        .file input {
            position: absolute;font-size: 100px;right: 0;top: 0;opacity: 0;
        }
        .jeinput_1 {
            display: inline-block;width: 98%;height: 36px;line-height: 34px \9;border: none;background-color: #fff;border-radius: 3px;outline: none;
        }
        .file:hover {
            background: #AADFFD;border-color: #78C3F3;color: #004974;text-decoration: none;
        }
        #loading { background: #fff url(../../static/public_file/images/jiazai.gif) no-repeat scroll center center; height: 100%; width: 100%; background-size: 10%; position: fixed; margin-top: 0px; top: 0px; left: 0px; bottom: 0px; overflow: hidden !important; right: 0px; z-index: 999999;background-color: rgba(255, 255, 255, 0.08);}

    </style>
</head>
<body>
    <div id="loading">
        <div id="loading-center">
        </div>
    </div>

    <div style="width: 100%;height: 40px;background: white;border-bottom: #cfcfcf solid 0.5px;line-height: 40px;color: black;">
        <div id="DW_tag" class="tab_top top_tag" onclick="change_mind('DW')">
            申请详情
        </div>
        <div id="LH_tag" class="tab_top" onclick="change_mind('LH')">
            附件
        </div>
        <div id="lct_tag" class="tab_top" onclick="change_mind('lct')">
            流程图
        </div>

        <div style="width: 110px;float: right;text-align: center;height: 40px;">
            <button style="line-height: 27px;border-radius: 3px;border: #1E90FF solid 0.5px;width: 100px;height: 30px;margin-top: 5px;background: #1E90FF;color: white;"><a href="javascript:history.go(-1)" style="color: white;">返回</a></button>
        </div>
    </div>

    <div id="DW" style="width: 100%;height: 95%;background: white;">
        <div id="menu_from" style="width: 100%;height: auto;color: #2C3E50;display: inline-block;vertical-align: top;background: white;">
            <div style="width: 95%;height: auto;display: inline-block;vertical-align: center;margin-left: 2.5%;">
                <div style="width: 100%">
                    <table style="width: 100%;margin-top: 1.5%;">
                        <tr style="width: 100%;">
                            <td colspan="4" style="height: 40px;text-align: center;border: #cfcfcf solid 0.5px;"><h3>离&nbsp;职&nbsp;申&nbsp;请</h3></td>
                        </tr>
                        <tr>
                            <td colspan="4"
                                style="border: #cfcfcf solid 0.5px;width: 95%;margin-left: 2.5%;margin-top: 1%;height: 40px;padding-left: 0.5%;line-height: 40px;background: #F5F5F5;color: #1E90FF;">
                                基本信息
                            </td>
                        </tr>
                        <tr style="width: 100%;">
                            <td style="width: 15%;border: #cfcfcf solid 0.5px;text-align: right;height: 37px;line-height: 37px;padding-right: 1%;">
                                申&nbsp;&nbsp;请&nbsp;人
                            </td>
                            <td id="user"
                                style="width: 35%;height: 37px;line-height: 37px;padding-left: 1%;border: #cfcfcf solid 0.5px;">
                                {{ obj.user.real_name }}
                            </td>
                            <td style="width: 15%;border: #cfcfcf solid 0.5px;height: 37px;line-height: 37px;text-align: right;padding-right: 1%;">
                                工&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;号
                            </td>
                            <td id="job_number"
                                style="width: 35%;height: 37px;line-height: 37px;padding-left: 1%;border: #cfcfcf solid 0.5px;">{{ obj.job_number }}
                            </td>
                        </tr>
                        <tr>
                            <td style="width: 15%;border: #cfcfcf solid 0.5px;height: 37px;line-height: 37px;text-align: right;padding-right: 1%;">
                                所属科室
                            </td>
                            <td id="company"
                                style="width: 35%;height: 37px;line-height: 37px;padding-left: 1%;border: #cfcfcf solid 0.5px;">{{ obj.company.name }}
                            </td>
                            <td style="width: 15%;border: #cfcfcf solid 0.5px;height: 37px;line-height: 37px;text-align: right;padding-right: 1%;">
                                职&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;称
                            </td>
                            <td id="rank"
                                style="width: 35%;height: 37px;line-height: 37px;padding-left: 1%;border: #cfcfcf solid 0.5px;">{{ obj.rank }}
                            </td>

                        </tr>

                        <tr>

                            <td style="width: 15%;border: #cfcfcf solid 0.5px;height: 37px;line-height: 37px;text-align: right;padding-right: 1%;">
                                学&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;历
                            </td>
                            <td id="education"
                                style="width: 35%;height: 37px;line-height: 37px;border: #cfcfcf solid 0.5px;padding-left: 1%">
                                {{ obj.education }}
                            </td>
                            <td style="width: 15%;border: #cfcfcf solid 0.5px;height: 37px;line-height: 37px;text-align: right;padding-right: 1%;">
                                联系方式
                            </td>
                            <td id="tel_num"
                                style="width: 35%;height: 37px;line-height: 37px;padding-left: 1%;border: #cfcfcf solid 0.5px;">{{ obj.tel_num }}
                            </td>
                        </tr>
                        <tr>
                            <td style="width: 15%;border: #cfcfcf solid 0.5px;height: 37px;line-height: 37px;text-align: right;padding-right: 1%;">
                                入职时间
                            </td>
                            <td style="width: 35%;height: 37px;line-height: 37px;border: #cfcfcf solid 0.5px;padding-left: 1%">
                                {% if is_edit == 'true' %}
                                    <input type="text" class="jeinput_1" id="test12" placeholder="选择日期"
                                           value="{{ obj.hiredate|date:'Y-m-d' }}">
                                {% else %}
                                    {{ obj.hiredate|date:'Y-m-d' }}
                                {% endif %}

                            </td>
                            <td style="width: 15%;border: #cfcfcf solid 0.5px;height: 37px;line-height: 37px;text-align: right;padding-right: 1%;">
                                拟离职时间
                            </td>
                            <td style="width: 35%;height: 37px;line-height: 37px;border: #cfcfcf solid 0.5px;padding-left: 1%;">
                                {% if is_edit == 'true' %}
                                    <input type="text" class="jeinput_1" id="test13" placeholder="选择日期"
                                           value="{{ obj.dimission_time|date:'Y-m-d' }}">
                                {% else %}
                                    {{ obj.dimission_time|date:'Y-m-d' }}
                                {% endif %}
                            </td>
                        </tr>

                        <tr style="width: 100%;">
                            <td style="width: 15%;border: #cfcfcf solid 0.5px;height: 37px;line-height: 37px;text-align: right;padding-right: 1%;">
                                离职原因
                            </td>
                            <td colspan="3"
                                style="width: 85%;border: #cfcfcf solid 0.5px;height: 37px;line-height: 37px;text-align: left;padding-left: 1%;">
                                {% if is_edit == 'true' %}
                                    <input type="text" id="dimission_note" style="width: 100%;height: 100%;border: none"
                                           placeholder="请输入离职原因" value="{{ obj.dimission_note }}"></td>
                                {% else %}
                                    {{ obj.dimission_note }}
                                {% endif %}
                        </tr>
                        <tr>
                            <td colspan="4"
                                style="width: 90%;height: 40px;margin-left: 5%;line-height: 40px;background-color: #F5F5F5;color: #1E90FF;padding-left: 1%;border: #cccccc solid 1px;border-top: none;padding-right: 1%;">
                                审批详情
                            </td>
                        </tr>
                        {% if 'one' in audit_dic %}
                            <tr style="width: 100%;">
                                <td style="width: 15%;max-height: 150px;border: #cccccc solid 1px;text-align: right;padding-right: 1%;border-top: none;letter-spacing: 2.2px;">
                                    科&nbsp;室&nbsp;负&nbsp;责&nbsp;人
                                </td>
                                <td colspan="3" style="width: 85%;max-height: 150px;;border: #cccccc solid 1px;border-left: none;border-top: none;">
                                    {% for k,v in audit_dic.items %}
                                        {% if k == 'one' %}
                                            {% for item in v %}
                                                {% if item.state != 'unaudit' %}
                                                    <div style="width: 100%;line-height: 20px;position: relative;">
                                                        <span>{{ item.state_display }}</span>
                                                        <span style="margin-left: 3%">{{ item.audit_note }}</span>
                                                    </div>
                                                    <div>
                                                        {% if item.signature_picture %}
                                                            <img src="{{ item.signature_picture }}" alt="" style="width: 150px; height: 60px;">
                                                        {% else %}
                                                            {{ item.audit_user }}
                                                        {% endif %}
                                                    </div>
                                                    <div style="text-align: right;color: #0b0b0b;">{{ item.audit_time }}</div>
                                                {% endif %}
                                            {% endfor %}
                                        {% endif %}
                                    {% endfor %}
                                </td>
                            </tr>
                        {% endif %}

                        {% if 'two' in audit_dic %}
                            <tr style="width: 100%;">
                                <td style="width: 15%;max-height: 150px;;border: #cccccc solid 1px;text-align: right;padding-right: 1%;border-top: none;letter-spacing: 4px;">
                                    业务主管部门
                                </td>
                                <td colspan="3" style="width: 85%;max-height: 150px;;border: #cccccc solid 1px;border-left: none;border-top: none;">
                                    {% for k,v in audit_dic.items %}
                                        {% if k == 'two' %}
                                            {% for item in v %}
                                                {% if item.state != 'unaudit' %}
                                                    <div style="width: 100%;line-height: 20px;position: relative;">
                                                        <span>{{ item.state_display }}</span>
                                                        <span style="margin-left: 3%">{{ item.audit_note }}</span>
                                                    </div>
                                                    <div>
                                                        {% if item.signature_picture %}
                                                            <img src="{{ item.signature_picture }}" alt="" style="width: 150px; height: 60px;">
                                                        {% else %}
                                                            {{ item.audit_user }}
                                                        {% endif %}
                                                    </div>
                                                    <div style="text-align: right;color: #0b0b0b;">{{ item.audit_time }}</div>
                                                {% endif %}
                                            {% endfor %}
                                        {% endif %}
                                    {% endfor %}
                                </td>
                            </tr>
                        {% endif %}

                        {% if 'three' in audit_dic %}
                            <tr style="width: 100%;">
                                <td style="width: 15%;max-height: 150px;;border: #cccccc solid 1px;text-align: right;padding-right: 1%;border-top: none;letter-spacing: 4px;">
                                    业务分管院长
                                </td>
                                <td colspan="3" style="width: 85%;max-height: 150px;;border: #cccccc solid 1px;border-left: none;border-top: none;">
                                    {% for k,v in audit_dic.items %}
                                        {% if k == 'three' %}
                                            {% for item in v %}
                                                {% if item.state != 'unaudit' %}
                                                    <div style="width: 100%;line-height: 20px;position: relative;">
                                                        <span>{{ item.state_display }}</span>
                                                        <span style="margin-left: 3%">{{ item.audit_note }}</span>
                                                    </div>
                                                    <div>
                                                        {% if item.signature_picture %}
                                                            <img src="{{ item.signature_picture }}" alt="" style="width: 150px; height: 60px;">
                                                        {% else %}
                                                            {{ item.audit_user }}
                                                        {% endif %}
                                                    </div>
                                                    <div style="text-align: right;color: #0b0b0b;">{{ item.audit_time }}</div>
                                                {% endif %}
                                            {% endfor %}
                                        {% endif %}
                                    {% endfor %}
                                </td>
                            </tr>
                        {% endif %}

                        {% if 'four' in audit_dic %}
                            <tr style="width: 100%;">
                                <td style="width: 15%;max-height: 150px;;border: #cccccc solid 1px;text-align: right;padding-right: 1%;border-top: none;letter-spacing: 4px;">
                                    分管人事院长
                                </td>
                                <td colspan="3" style="width: 85%;max-height: 150px;;border: #cccccc solid 1px;border-left: none;border-top: none;">
                                    {% for k,v in audit_dic.items %}
                                        {% if k == 'four' %}
                                            {% for item in v %}
                                                {% if item.state != 'unaudit' %}
                                                    <div style="width: 100%;line-height: 20px;position: relative;">
                                                        <span>{{ item.state_display }}</span>
                                                        <span style="margin-left: 3%">{{ item.audit_note }}</span>
                                                    </div>
                                                    <div>
                                                        {% if item.signature_picture %}
                                                            <img src="{{ item.signature_picture }}" alt="" style="width: 150px; height: 60px;">
                                                        {% else %}
                                                            {{ item.audit_user }}
                                                        {% endif %}
                                                    </div>
                                                    <div style="text-align: right;color: #0b0b0b;">{{ item.audit_time }}</div>
                                                {% endif %}
                                            {% endfor %}
                                        {% endif %}
                                    {% endfor %}
                                </td>
                            </tr>
                        {% endif %}

                        {% if 'five' in audit_dic %}
                            {% if '党委办公室' in five_node_list %}
                                <tr style="width: 100%;">
                                    <td style="width: 15%;max-height: 150px;;border: #cccccc solid 1px;text-align: right;padding-right: 1%;border-top: none;letter-spacing: 2px;">
                                        党&nbsp;委&nbsp;办&nbsp;公&nbsp;室
                                    </td>
                                    <td style="width: 35%;max-height: 150px;border: #cccccc solid 1px;text-align: right;padding-right: 1%;border-top: none;">
                                    </td>
                                    <td colspan="2" style="width: 50%;max-height: 150px;;border: #cccccc solid 1px;border-left: none;border-top: none;">
                                        {% for k,v in audit_dic.items %}
                                            {% if k == 'five' %}
                                                {% for item in v %}
                                                    {% if item.state != 'unaudit' and item.node_name == '党委办公室' %}
                                                        <div style="width: 100%;line-height: 20px;position: relative;">
                                                            <span>{{ item.state_display }}</span>
                                                            <span style="margin-left: 3%">{{ item.audit_note }}</span>
                                                        </div>
                                                        <div>
                                                            {% if item.signature_picture %}
                                                                <img src="{{ item.signature_picture }}" alt="" style="width: 150px; height: 60px;">
                                                            {% else %}
                                                                {{ item.audit_user }}
                                                            {% endif %}
                                                        </div>
                                                        <div style="text-align: right;color: #0b0b0b;">{{ item.audit_time }}</div>
                                                    {% endif %}
                                                {% endfor %}
                                            {% endif %}
                                        {% endfor %}
                                    </td>
                                </tr>
                            {% endif %}

                            {% if '监察室' in five_node_list %}
                                <tr style="width: 100%;">
                                    <td style="width: 15%;max-height: 150px;;border: #cccccc solid 1px;text-align: right;padding-right: 1%;border-top: none;letter-spacing: 1.2px;">
                                        监&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;察&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;室
                                    </td>
                                    <td style="width: 35%;max-height: 150px;border: #cccccc solid 1px;text-align: right;padding-right: 1%;border-top: none;">
                                    </td>
                                    <td colspan="2" style="width: 50%;max-height: 150px;;border: #cccccc solid 1px;border-left: none;border-top: none;">
                                        {% for k,v in audit_dic.items %}
                                            {% if k == 'five' %}
                                                {% for item in v %}
                                                    {% if item.state != 'unaudit' and item.node_name == '监察室' %}
                                                        <div style="width: 100%;line-height: 20px;position: relative;">
                                                            <span>{{ item.state_display }}</span>
                                                            <span style="margin-left: 3%">{{ item.audit_note }}</span>
                                                        </div>
                                                        <div>
                                                            {% if item.signature_picture %}
                                                                <img src="{{ item.signature_picture }}" alt="" style="width: 150px; height: 60px;">
                                                            {% else %}
                                                                {{ item.audit_user }}
                                                            {% endif %}
                                                        </div>
                                                        <div style="text-align: right;color: #0b0b0b;">{{ item.audit_time }}</div>
                                                    {% endif %}
                                                {% endfor %}
                                            {% endif %}
                                        {% endfor %}
                                    </td>
                                </tr>
                            {% endif %}

                            {% if '医院办公室' in five_node_list %}
                                <tr style="width: 100%;">
                                    <td style="width: 15%;max-height: 150px;;border: #cccccc solid 1px;text-align: right;padding-right: 1%;border-top: none;letter-spacing: 2px;">
                                        医&nbsp;院&nbsp;办&nbsp;公&nbsp;室
                                    </td>
                                    <td style="width: 35%;max-height: 150px;border: #cccccc solid 1px;text-align: right;padding-right: 1%;border-top: none;">
                                    </td>
                                    <td colspan="2" style="width: 50%;max-height: 150px;;border: #cccccc solid 1px;border-left: none;border-top: none;">
                                        {% for k,v in audit_dic.items %}
                                            {% if k == 'five' %}
                                                {% for item in v %}
                                                    {% if item.state != 'unaudit' and item.node_name == '医院办公室' %}
                                                        <div style="width: 100%;line-height: 20px;position: relative;">
                                                            <span>{{ item.state_display }}</span>
                                                            <span style="margin-left: 3%">{{ item.audit_note }}</span>
                                                        </div>
                                                        <div>
                                                            {% if item.signature_picture %}
                                                                <img src="{{ item.signature_picture }}" alt="" style="width: 150px; height: 60px;">
                                                            {% else %}
                                                                {{ item.audit_user }}
                                                            {% endif %}
                                                        </div>
                                                        <div style="text-align: right;color: #0b0b0b;">{{ item.audit_time }}</div>
                                                    {% endif %}
                                                {% endfor %}
                                            {% endif %}
                                        {% endfor %}
                                    </td>
                                </tr>
                            {% endif %}

                            {% if '工会办公室' in five_node_list %}
                                <tr style="width: 100%;">
                                    <td style="width: 15%;max-height: 150px;;border: #cccccc solid 1px;text-align: right;padding-right: 1%;border-top: none;letter-spacing: 2.1px;">
                                        工&nbsp;会&nbsp;办&nbsp;公&nbsp;室
                                    </td>
                                    <td style="width: 35%;max-height: 150px;border: #cccccc solid 1px;text-align: right;padding-right: 1%;border-top: none;">
                                    </td>
                                    <td colspan="2" style="width: 50%;max-height: 150px;;border: #cccccc solid 1px;border-left: none;border-top: none;">
                                        {% for k,v in audit_dic.items %}
                                            {% if k == 'five' %}
                                                {% for item in v %}
                                                    {% if item.state != 'unaudit' and item.node_name == '工会办公室' %}
                                                        <div style="width: 100%;line-height: 20px;position: relative;">
                                                            <span>{{ item.state_display }}</span>
                                                            <span style="margin-left: 3%">{{ item.audit_note }}</span>
                                                        </div>
                                                        <div>
                                                            {% if item.signature_picture %}
                                                                <img src="{{ item.signature_picture }}" alt="" style="width: 150px; height: 60px;">
                                                            {% else %}
                                                                {{ item.audit_user }}
                                                            {% endif %}
                                                        </div>
                                                        <div style="text-align: right;color: #0b0b0b;">{{ item.audit_time }}</div>
                                                    {% endif %}
                                                {% endfor %}
                                            {% endif %}
                                        {% endfor %}
                                    </td>
                                </tr>
                            {% endif %}

                            {% if '医务科' in five_node_list or '护理部' in five_node_list %}
                                <tr style="width: 100%;">
                                    <td style="width: 15%;max-height: 150px;;border: #cccccc solid 1px;text-align: right;padding-right: 1%;border-top: none;letter-spacing: 3.1px;">
                                        医&nbsp;务&nbsp;/&nbsp;护&nbsp;理
                                    </td>
                                    <td style="width: 35%;max-height: 150px;border: #cccccc solid 1px;padding-left: 1%;border-top: none;">
                                        进修约定赔偿、医疗纠纷赔偿、社会任职
                                    </td>
                                    <td colspan="2" style="width: 50%;max-height: 150px;;border: #cccccc solid 1px;border-left: none;border-top: none;">
                                        {% for k,v in audit_dic.items %}
                                            {% if k == 'five' %}
                                                {% for item in v %}
                                                    {% if item.state != 'unaudit' and item.node_name == '医务科' or item.node_name == '护理部' %}
                                                        <div style="width: 100%;line-height: 20px;position: relative;">
                                                            <span>{{ item.state_display }}</span>
                                                            <span style="margin-left: 3%">{{ item.audit_note }}</span>
                                                        </div>
                                                        <div>
                                                            {% if item.signature_picture %}
                                                                <img src="{{ item.signature_picture }}" alt="" style="width: 150px; height: 60px;">
                                                            {% else %}
                                                                {{ item.audit_user }}
                                                            {% endif %}
                                                        </div>
                                                        <div style="text-align: right;color: #0b0b0b;">{{ item.audit_time }}</div>
                                                    {% endif %}
                                                {% endfor %}
                                            {% endif %}
                                        {% endfor %}
                                    </td>
                                </tr>
                            {% endif %}

                            {% if '科教科' in five_node_list %}
                                <tr style="width: 100%;">
                                    <td style="width: 15%;max-height: 150px;;border: #cccccc solid 1px;text-align: right;padding-right: 1%;border-top: none;letter-spacing: 1.2px;">
                                        科&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;教&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;科
                                    </td>
                                    <td style="width: 35%;max-height: 150px;border: #cccccc solid 1px;text-align: right;padding-right: 1%;border-top: none;">
                                    </td>
                                    <td colspan="2" style="width: 50%;max-height: 150px;;border: #cccccc solid 1px;border-left: none;border-top: none;">
                                        {% for k,v in audit_dic.items %}
                                            {% if k == 'five' %}
                                                {% for item in v %}
                                                    {% if item.state != 'unaudit' and item.node_name == '科教科' %}
                                                        <div style="width: 100%;line-height: 20px;position: relative;">
                                                            <span>{{ item.state_display }}</span>
                                                            <span style="margin-left: 3%">{{ item.audit_note }}</span>
                                                        </div>
                                                        <div>
                                                            {% if item.signature_picture %}
                                                                <img src="{{ item.signature_picture }}" alt="" style="width: 150px; height: 60px;">
                                                            {% else %}
                                                                {{ item.audit_user }}
                                                            {% endif %}
                                                        </div>
                                                        <div style="text-align: right;color: #0b0b0b;">{{ item.audit_time }}</div>
                                                    {% endif %}
                                                {% endfor %}
                                            {% endif %}
                                        {% endfor %}
                                    </td>
                                </tr>
                            {% endif %}

                            {% if '宣传科' in five_node_list %}
                                <tr style="width: 100%;">
                                    <td style="width: 15%;max-height: 150px;;border: #cccccc solid 1px;text-align: right;padding-right: 1%;border-top: none;letter-spacing: 1.2px;">
                                        宣&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;传&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;科
                                    </td>
                                    <td style="width: 35%;max-height: 150px;border: #cccccc solid 1px;padding-left: 1%;border-top: none;">
                                        更新宣传信息
                                    </td>
                                    <td colspan="2" style="width: 50%;max-height: 150px;;border: #cccccc solid 1px;border-left: none;border-top: none;">
                                        {% for k,v in audit_dic.items %}
                                            {% if k == 'five' %}
                                                {% for item in v %}
                                                    {% if item.state != 'unaudit' and item.node_name == '宣传科' %}
                                                        <div style="width: 100%;line-height: 20px;position: relative;">
                                                            <span>{{ item.state_display }}</span>
                                                            <span style="margin-left: 3%">{{ item.audit_note }}</span>
                                                        </div>
                                                        <div>
                                                            {% if item.signature_picture %}
                                                                <img src="{{ item.signature_picture }}" alt="" style="width: 150px; height: 60px;">
                                                            {% else %}
                                                                {{ item.audit_user }}
                                                            {% endif %}
                                                        </div>
                                                        <div style="text-align: right;color: #0b0b0b;">{{ item.audit_time }}</div>
                                                    {% endif %}
                                                {% endfor %}
                                            {% endif %}
                                        {% endfor %}
                                    </td>
                                </tr>
                            {% endif %}

                            {% if '总务科' in five_node_list %}
                                <tr style="width: 100%;">
                                    <td style="width: 15%;max-height: 150px;;border: #cccccc solid 1px;text-align: right;padding-right: 1%;border-top: none;letter-spacing: 1.2px;">
                                        总&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;务&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;科
                                    </td>
                                    <td style="width: 35%;max-height: 150px;border: #cccccc solid 1px;text-align: right;padding-right: 1%;border-top: none;">
                                    </td>
                                    <td colspan="2" style="width: 50%;max-height: 150px;;border: #cccccc solid 1px;border-left: none;border-top: none;">
                                        {% for k,v in audit_dic.items %}
                                            {% if k == 'five' %}
                                                {% for item in v %}
                                                    {% if item.state != 'unaudit' and item.node_name == '总务科' %}
                                                        <div style="width: 100%;line-height: 20px;position: relative;">
                                                            <span>{{ item.state_display }}</span>
                                                            <span style="margin-left: 3%">{{ item.audit_note }}</span>
                                                        </div>
                                                        <div>
                                                            {% if item.signature_picture %}
                                                                <img src="{{ item.signature_picture }}" alt="" style="width: 150px; height: 60px;">
                                                            {% else %}
                                                                {{ item.audit_user }}
                                                            {% endif %}
                                                        </div>
                                                        <div style="text-align: right;color: #0b0b0b;">{{ item.audit_time }}</div>
                                                    {% endif %}
                                                {% endfor %}
                                            {% endif %}
                                        {% endfor %}
                                    </td>
                                </tr>
                            {% endif %}

                            {% if '膳食委员会' in five_node_list %}
                                <tr style="width: 100%;">
                                    <td style="width: 15%;max-height: 150px;;border: #cccccc solid 1px;text-align: right;padding-right: 1%;border-top: none;letter-spacing: 2px;">
                                        膳&nbsp;食&nbsp;委&nbsp;员&nbsp;会
                                    </td>
                                    <td style="width: 35%;max-height: 150px;border: #cccccc solid 1px;padding-left: 1%;border-top: none;">
                                        上交饭卡
                                    </td>
                                    <td colspan="2" style="width: 50%;max-height: 150px;;border: #cccccc solid 1px;border-left: none;border-top: none;">
                                        {% for k,v in audit_dic.items %}
                                            {% if k == 'five' %}
                                                {% for item in v %}
                                                    {% if item.state != 'unaudit' and item.node_name == '膳食委员会' %}
                                                        <div style="width: 100%;line-height: 20px;position: relative;">
                                                            <span>{{ item.state_display }}</span>
                                                            <span style="margin-left: 3%">{{ item.audit_note }}</span>
                                                        </div>
                                                        <div>
                                                            {% if item.signature_picture %}
                                                                <img src="{{ item.signature_picture }}" alt="" style="width: 150px; height: 60px;">
                                                            {% else %}
                                                                {{ item.audit_user }}
                                                            {% endif %}
                                                        </div>
                                                        <div style="text-align: right;color: #0b0b0b;">{{ item.audit_time }}</div>
                                                    {% endif %}
                                                {% endfor %}
                                            {% endif %}
                                        {% endfor %}
                                    </td>
                                </tr>
                            {% endif %}

                            {% if '设备科' in five_node_list %}
                                <tr style="width: 100%;">
                                    <td style="width: 15%;max-height: 150px;;border: #cccccc solid 1px;text-align: right;padding-right: 1%;border-top: none;letter-spacing: 1.2px;">
                                        设&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;备&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;科
                                    </td>
                                    <td style="width: 35%;max-height: 150px;border: #cccccc solid 1px;text-align: right;padding-right: 1%;border-top: none;">
                                    </td>
                                    <td colspan="2" style="width: 50%;max-height: 150px;;border: #cccccc solid 1px;border-left: none;border-top: none;">
                                        {% for k,v in audit_dic.items %}
                                            {% if k == 'five' %}
                                                {% for item in v %}
                                                    {% if item.state != 'unaudit' and item.node_name == '设备科' %}
                                                        <div style="width: 100%;line-height: 20px;position: relative;">
                                                            <span>{{ item.state_display }}</span>
                                                            <span style="margin-left: 3%">{{ item.audit_note }}</span>
                                                        </div>
                                                        <div>
                                                            {% if item.signature_picture %}
                                                                <img src="{{ item.signature_picture }}" alt="" style="width: 150px; height: 60px;">
                                                            {% else %}
                                                                {{ item.audit_user }}
                                                            {% endif %}
                                                        </div>
                                                        <div style="text-align: right;color: #0b0b0b;">{{ item.audit_time }}</div>
                                                    {% endif %}
                                                {% endfor %}
                                            {% endif %}
                                        {% endfor %}
                                    </td>
                                </tr>
                            {% endif %}

                            {% if '网络信息科' in five_node_list %}
                                <tr style="width: 100%;">
                                    <td style="width: 15%;max-height: 150px;;border: #cccccc solid 1px;text-align: right;padding-right: 1%;border-top: none;letter-spacing: 2px;">
                                        网&nbsp;络&nbsp;信&nbsp;息&nbsp;科
                                    </td>
                                    <td style="width: 35%;max-height: 150px;border: #cccccc solid 1px;padding-left: 1%;border-top: none;">
                                        人员信息移库
                                    </td>
                                    <td colspan="2" style="width: 50%;max-height: 150px;;border: #cccccc solid 1px;border-left: none;border-top: none;">
                                        {% for k,v in audit_dic.items %}
                                            {% if k == 'five' %}
                                                {% for item in v %}
                                                    {% if item.state != 'unaudit' and item.node_name == '网络信息科' %}
                                                        <div style="width: 100%;line-height: 20px;position: relative;">
                                                            <span>{{ item.state_display }}</span>
                                                            <span style="margin-left: 3%">{{ item.audit_note }}</span>
                                                        </div>
                                                        <div>
                                                            {% if item.signature_picture %}
                                                                <img src="{{ item.signature_picture }}" alt="" style="width: 150px; height: 60px;">
                                                            {% else %}
                                                                {{ item.audit_user }}
                                                            {% endif %}
                                                        </div>
                                                        <div style="text-align: right;color: #0b0b0b;">{{ item.audit_time }}</div>
                                                    {% endif %}
                                                {% endfor %}
                                            {% endif %}
                                        {% endfor %}
                                    </td>
                                </tr>
                            {% endif %}

                            {% if '病案统计科' in five_node_list %}
                                <tr style="width: 100%;">
                                    <td style="width: 15%;max-height: 150px;;border: #cccccc solid 1px;text-align: right;padding-right: 1%;border-top: none;letter-spacing: 2px;">
                                        病&nbsp;案&nbsp;统&nbsp;计&nbsp;科
                                    </td>
                                    <td style="width: 35%;max-height: 150px;border: #cccccc solid 1px;padding-left: 1%;border-top: none;">
                                        病历归档、借阅情况
                                    </td>
                                    <td colspan="2" style="width: 50%;max-height: 150px;;border: #cccccc solid 1px;border-left: none;border-top: none;">
                                        {% for k,v in audit_dic.items %}
                                            {% if k == 'five' %}
                                                {% for item in v %}
                                                    {% if item.state != 'unaudit' and item.node_name == '病案统计科' %}
                                                        <div style="width: 100%;line-height: 20px;position: relative;">
                                                            <span>{{ item.state_display }}</span>
                                                            <span style="margin-left: 3%">{{ item.audit_note }}</span>
                                                        </div>
                                                        <div>
                                                            {% if item.signature_picture %}
                                                                <img src="{{ item.signature_picture }}" alt="" style="width: 150px; height: 60px;">
                                                            {% else %}
                                                                {{ item.audit_user }}
                                                            {% endif %}
                                                        </div>
                                                        <div style="text-align: right;color: #0b0b0b;">{{ item.audit_time }}</div>
                                                    {% endif %}
                                                {% endfor %}
                                            {% endif %}
                                        {% endfor %}
                                    </td>
                                </tr>
                            {% endif %}

                            {% if '图书室' in five_node_list %}
                                <tr style="width: 100%;">
                                    <td style="width: 15%;max-height: 150px;;border: #cccccc solid 1px;text-align: right;padding-right: 1%;border-top: none;letter-spacing: 1.2px;">
                                        图&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;书&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;室
                                    </td>
                                    <td style="width: 35%;max-height: 150px;border: #cccccc solid 1px;padding-left: 1%;border-top: none;">
                                        图书借阅
                                    </td>
                                    <td colspan="2" style="width: 50%;max-height: 150px;;border: #cccccc solid 1px;border-left: none;border-top: none;">
                                        {% for k,v in audit_dic.items %}
                                            {% if k == 'five' %}
                                                {% for item in v %}
                                                    {% if item.state != 'unaudit' and item.node_name == '图书室' %}
                                                        <div style="width: 100%;line-height: 20px;position: relative;">
                                                            <span>{{ item.state_display }}</span>
                                                            <span style="margin-left: 3%">{{ item.audit_note }}</span>
                                                        </div>
                                                        <div>
                                                            {% if item.signature_picture %}
                                                                <img src="{{ item.signature_picture }}" alt="" style="width: 150px; height: 60px;">
                                                            {% else %}
                                                                {{ item.audit_user }}
                                                            {% endif %}
                                                        </div>
                                                        <div style="text-align: right;color: #0b0b0b;">{{ item.audit_time }}</div>
                                                    {% endif %}
                                                {% endfor %}
                                            {% endif %}
                                        {% endfor %}
                                    </td>
                                </tr>
                            {% endif %}

                            {% if '人事科' in five_node_list %}
                                <tr style="width: 100%;">
                                    <td style="width: 15%;max-height: 150px;;border: #cccccc solid 1px;text-align: right;padding-right: 1%;border-top: none;letter-spacing: 1.2px;">
                                        人&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;事&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;科
                                    </td>
                                    <td style="width: 35%;max-height: 150px;border: #cccccc solid 1px;padding-left: 1%;border-top: none;">
                                        含各种保险
                                    </td>
                                    <td colspan="2" style="width: 50%;max-height: 150px;;border: #cccccc solid 1px;border-left: none;border-top: none;">
                                        {% for k,v in audit_dic.items %}
                                            {% if k == 'five' %}
                                                {% for item in v %}
                                                    {% if item.state != 'unaudit' and item.node_name == '人事科' %}
                                                        <div style="width: 100%;line-height: 20px;position: relative;">
                                                            <span>{{ item.state_display }}</span>
                                                            <span style="margin-left: 3%">{{ item.audit_note }}</span>
                                                        </div>
                                                        <div>
                                                            {% if item.signature_picture %}
                                                                <img src="{{ item.signature_picture }}" alt="" style="width: 150px; height: 60px;">
                                                            {% else %}
                                                                {{ item.audit_user }}
                                                            {% endif %}
                                                        </div>
                                                        <div style="text-align: right;color: #0b0b0b;">{{ item.audit_time }}</div>
                                                    {% endif %}
                                                {% endfor %}
                                            {% endif %}
                                        {% endfor %}
                                    </td>
                                </tr>
                            {% endif %}
                        {% endif %}

                        {% if 'six' in audit_dic %}
                            <tr style="width: 100%;">
                                <td style="width: 15%;max-height: 150px;border: #cccccc solid 1px;text-align: right;padding-right: 1%;border-top: none;">
                                    经济管理办公室
                                </td>
                                <td colspan="3" style="width: 85%;max-height: 150px;border: #cccccc solid 1px;border-left: none;border-top: none;outline: none;">
                                    {% for k,v in audit_dic.items %}
                                        {% if k == 'six' %}
                                            {% for item in v %}
                                                {% if item.state != 'unaudit' %}
                                                    <div style="width: 100%;line-height: 20px;position: relative;">
                                                        <span>{{ item.state_display }}</span>
                                                        <span style="margin-left: 3%">{{ item.audit_note }}</span>
                                                    </div>
                                                    <div>
                                                        <img src="{{ item.signature_picture }}" alt=""
                                                             style="width: 150px; height: 60px;">
                                                    </div>
                                                    <div style="text-align: right;color: #0b0b0b;">{{ item.audit_time }}</div>
                                                {% endif %}
                                            {% endfor %}
                                        {% endif %}
                                    {% endfor %}
                                </td>
                            </tr>
                        {% endif %}

                        {% if 'seven' in audit_dic %}
                            <tr style="width: 100%;">
                                <td style="width: 15%;max-height: 150px;border: #cccccc solid 1px;text-align: right;padding-right: 1%;border-top: none;letter-spacing: 1.2px;">
                                    财&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;务&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;科
                                </td>
                                <td colspan="3" style="width: 85%;max-height: 150px;border: #cccccc solid 1px;border-left: none;border-top: none;outline: none;">
                                    {% for k,v in audit_dic.items %}
                                        {% if k == 'seven' %}
                                            {% for item in v %}
                                                {% if item.state != 'unaudit' %}
                                                    <div style="width: 100%;line-height: 20px;position: relative;">
                                                        <span>{{ item.state_display }}</span>
                                                        <span style="margin-left: 3%">{{ item.audit_note }}</span>
                                                    </div>
                                                    <div>
                                                        <img src="{{ item.signature_picture }}" alt=""
                                                             style="width: 150px; height: 60px;">
                                                    </div>
                                                    <div style="text-align: right;color: #0b0b0b;">{{ item.audit_time }}</div>
                                                {% endif %}
                                            {% endfor %}
                                        {% endif %}
                                    {% endfor %}
                                </td>
                            </tr>
                        {% endif %}

                        {% if 'stop' in audit_dic %}
                            <tr style="width: 100%;">
                                <td style="width: 15%;max-height: 150px;border: #cccccc solid 1px;text-align: right;padding-right: 1%;border-top: none;letter-spacing: 1.2px;">
                                    中&nbsp;&nbsp;&nbsp;止&nbsp;&nbsp;&nbsp;理&nbsp;&nbsp;&nbsp;由
                                </td>
                                <td colspan="3" style="width: 85%;max-height: 150px;border: #cccccc solid 1px;border-left: none;border-top: none;outline: none;">
                                    {% for k,v in audit_dic.items %}
                                        {% if k == 'stop' %}
                                            {% for item in v %}
                                                {% if item.state != 'unaudit' %}
                                                    <div style="width: 100%;line-height: 20px;position: relative;">
                                                        <span style="margin-left: 3%">{{ item.audit_note }}</span>
                                                    </div>
                                                    <div>
                                                        <img src="{{ item.signature_picture }}" alt=""
                                                             style="width: 150px; height: 60px;">
                                                    </div>
                                                    <div style="text-align: right;color: #0b0b0b;">{{ item.audit_time }}</div>
                                                {% endif %}
                                            {% endfor %}
                                        {% endif %}
                                    {% endfor %}
                                </td>
                            </tr>
                        {% endif %}
                    </table>
                </div>
                {% if is_edit == 'true' %}
                    <div style="width: 100%;height: 40px;line-height: 40px;background-color: #F5F5F5;color: #1E90FF;padding-left: 1%;border: #cccccc solid 1px;border-top: none;border-bottom: none;padding-right: 1%;">
                        上传附件
                        <a href="javascript:;" class="file"
                           style="vertical-align: top;margin-top: 5px;float: right;">
                            上传文件
                            <input type="file" name="party_main_body" id="party_main_body"
                                   onchange="upload_accessory('file1', 'party_main', 'party_main_body')">
                        </a>
                    </div>
                    <table style="width: 100%;">
                        <thead>
                        <tr>
                            <td style="width: 5%;border: #cccccc solid 1px;text-align: center;">序号</td>
                            <td style="width: 20%;border: #cccccc solid 1px;border-left: none;text-align: center;">
                                文件名称
                            </td>
                            <td style="width: 20%;border: #cccccc solid 1px;border-left: none;text-align: center;">
                                文件大小
                            </td>
                            <td style="width: 20%;border: #cccccc solid 1px;border-left: none;text-align: center;">
                                上传时间
                            </td>
                            <td style="width: 20%;border: #cccccc solid 1px;border-left: none;text-align: center;">
                                上传人员
                            </td>
                            <td style="width: 15%;border: #cccccc solid 1px;border-left: none;text-align: center;">
                                操作
                            </td>
                        </tr>
                        </thead>
                        <tbody style="overflow: auto;" id="party_main">
                        {% for record in file_list %}
                            <tr>
                                <td style="width: 5%;border: #cccccc solid 1px;text-align: center;">{{ forloop.counter }}</td>
                                <td style="width: 20%;border: #cccccc solid 1px;border-left: none;text-align: center;">{{ record.file_name }}</td>
                                <td style="width: 20%;border: #cccccc solid 1px;border-left: none;text-align: center;">{{ record.file_size }}</td>
                                <td style="width: 20%;border: #cccccc solid 1px;border-left: none;text-align: center;">{{ record.upload_time }}</td>
                                <td style="width: 20%;border: #cccccc solid 1px;border-left: none;text-align: center;">{{ record.uploader }}</td>
                                <td style="width: 15%;border: #cccccc solid 1px;border-left: none;text-align: center;">
                                    <a target='_blank' href="{{ record.file_path }}">查看</a> | <a style="color: red;"
                                                                                                 href='#'
                                                                                                 onclick='RemoveTr(this, "party_main", {{ record.id }})'>删除</a>
                                </td>
                            </tr>
                        {% endfor %}
                        </tbody>
                    </table>
                {% endif %}
            </div>
        </div>
    </div>

    <div id="LH" style="width: 100%;height: 94%;background: white;display: none;">
        <div style="display: inline-block;width: 20%;vertical-align: top;height: 99%">
            <div style="width: 100%;height: 40px;background: #c8cbcf;padding-left: 2%;line-height: 40px;color: #0c6fd9;">
                附件
            </div>
            <div style="width: 100%;">
                {% for item in file_list %}
                    {% if item.file_type == '0' %}
                        <div><a href="#" class="a_tag_cla" title="{{ item.file_name }}" onclick="chage_yulan(this, '{{ item.file_path }}')">{{ item.file_name }}</a></div>
                    {% endif %}
                {% endfor %}
            </div>
            {% if 'stop' in audit_dic %}
                <div style="width: 100%;height: 40px;background: #c8cbcf;padding-left: 2%;line-height: 40px;color: #0c6fd9;">
                    中止附件
                </div>
                <div style="width: 100%;">
                    {% for item in file_list %}
                        {% if item.file_type == '1' %}
                            <div><a href="#" class="a_tag_cla" title="{{ item.file_name }}" onclick="chage_yulan(this, '{{ item.file_path }}')">{{ item.file_name }}</a></div>
                        {% endif %}
                    {% endfor %}
                </div>
            {% endif %}
        </div>
        <div style="display: inline-block;width: 78%;vertical-align: top;height: 99%;text-align: center;" id="fujian">
            {% if 'jpg' in file_path or 'JPG' in file_path or 'JPEG' in file_path or 'jpeg' in file_path or 'PNG' in file_path or 'png' in file_path %}
                <img src="{{ file_path }}" alt="" style="width: 800px;height: 100%;">
            {% else %}
                <embed id="embed_file" src="{{ file_path }}" type="application/pdf" style="width: 100%;height: 100%;">
            {% endif %}
        </div>
    </div>

    <div id="lct" style="width: 100%;height: 94%;background: white;display: none;">
        <div style="width: 100%;height: 40%;text-align: center;margin: 20% auto;">
            <div style="display: inline-block;vertical-align: top;cursor: pointer;text-align: center;">
                <div style="text-align: center;color: #0d8ddb;">
                    ({{ obj.user.real_name }})<br>
                    发起人
                </div>
                <div style="width: 50px;height: 25px;border-radius: 3px;background: #0d8ddb;color: white;text-align: center;display: inline-block;font-size: 12px;line-height: 25px;">
                    start
                </div>
            </div>

            {% if 'one' in flow_dict %}
                {% for k,v in flow_dict.items %}
                    {% if k == 'one' %}
                        <div style="display: inline-block;border: {% if v.apply == 'true' %} #0d8ddb {% else %} #cfcfcf {% endif %} solid 1px;width: 120px;vertical-align: bottom;margin-bottom: 12px;"></div>
                        <div style="display: inline-block;vertical-align: top;cursor: pointer;text-align: center;">
                            <div style="text-align: center;{% if v.apply == 'true' %} color: #0d8ddb; {% endif %}">
                                ({{ v.apply_people }})<br>
                                科室负责人
                            </div>
                            <div style="width: 25px;height: 25px;border-radius: 50%;{% if v.apply == 'true' %} background: #0d8ddb; {% else %} background: #cfcfcf; {% endif %}color: white;text-align: center;display: inline-block;font-size: 12px;line-height: 25px;">
                                {{ v.sear }}
                            </div>
                        </div>
                    {% endif %}
                {% endfor %}
            {% endif %}

            {% if 'two' in flow_dict %}
                {% for k,v in flow_dict.items %}
                    {% if k == 'two' %}
                        <div style="display: inline-block;border: {% if v.apply == 'true' %} #0d8ddb {% else %} #cfcfcf {% endif %} solid 1px;width: 120px;vertical-align: bottom;margin-bottom: 12px;"></div>
                        <div style="display: inline-block;vertical-align: top;cursor: pointer;text-align: center;">
                            <div style="text-align: center;{% if v.apply == 'true' %} color: #0d8ddb; {% endif %}">
                                ({{ v.apply_people }})<br>
                                业务主管部门
                            </div>
                            <div style="width: 25px;height: 25px;border-radius: 50%;{% if v.apply == 'true' %} background: #0d8ddb; {% else %} background: #cfcfcf; {% endif %}color: white;text-align: center;display: inline-block;font-size: 12px;line-height: 25px;">
                                {{ v.sear }}
                            </div>
                        </div>
                    {% endif %}
                {% endfor %}
            {% endif %}

            {% if 'three' in flow_dict %}
                {% for k,v in flow_dict.items %}
                    {% if k == 'three' %}
                        <div style="display: inline-block;border: {% if v.apply == 'true' %} #0d8ddb {% else %} #cfcfcf {% endif %} solid 1px;width: 120px;vertical-align: bottom;margin-bottom: 12px;"></div>
                        <div style="display: inline-block;vertical-align: top;cursor: pointer;text-align: center;">
                            <div style="text-align: center;{% if v.apply == 'true' %} color: #0d8ddb; {% endif %}">
                                ({{ v.apply_people }})<br>
                                业务分管院长
                            </div>
                            <div style="width: 25px;height: 25px;border-radius: 50%;{% if v.apply == 'true' %} background: #0d8ddb; {% else %} background: #cfcfcf; {% endif %}color: white;text-align: center;display: inline-block;font-size: 12px;line-height: 25px;">
                                {{ v.sear }}
                            </div>
                        </div>
                    {% endif %}
                {% endfor %}
            {% endif %}

            {% if 'four' in flow_dict %}
                {% for k,v in flow_dict.items %}
                    {% if k == 'four' %}
                        <div style="display: inline-block;border: {% if v.apply == 'true' %} #0d8ddb {% else %} #cfcfcf {% endif %} solid 1px;width: 120px;vertical-align: bottom;margin-bottom: 12px;"></div>
                        <div style="display: inline-block;vertical-align: top;cursor: pointer;text-align: center;">
                            <div style="text-align: center;{% if v.apply == 'true' %} color: #0d8ddb; {% endif %}">
                                ({{ v.apply_people }})<br>
                                分管人事院长
                            </div>
                            <div style="width: 25px;height: 25px;border-radius: 50%;{% if v.apply == 'true' %} background: #0d8ddb; {% else %} background: #cfcfcf; {% endif %}color: white;text-align: center;display: inline-block;font-size: 12px;line-height: 25px;">
                                {{ v.sear }}
                            </div>
                        </div>
                    {% endif %}
                {% endfor %}
            {% endif %}

            {% if 'five' in flow_dict %}
                {% for k,v in flow_dict.items %}
                    {% if k == 'five' %}
                        <div style="display: inline-block;border: {% if v.apply == 'true' %} #0d8ddb {% else %} #cfcfcf {% endif %} solid 1px;width: 120px;vertical-align: bottom;margin-bottom: 12px;"></div>
                        <div style="display: inline-block;vertical-align: top;cursor: pointer;text-align: center;">
                            <div style="text-align: center;{% if v.apply == 'true' %} color: #0d8ddb; {% endif %}">
                                ({{ v.apply_people }})<br>
                                调离通知审核
                            </div>
                            <div style="width: 25px;height: 25px;border-radius: 50%;{% if v.apply == 'true' %} background: #0d8ddb; {% else %} background: #cfcfcf; {% endif %}color: white;text-align: center;display: inline-block;font-size: 12px;line-height: 25px;">
                                {{ v.sear }}
                            </div>
                        </div>
                    {% endif %}
                {% endfor %}
            {% endif %}

            {% if 'six' in flow_dict %}
                {% for k,v in flow_dict.items %}
                    {% if k == 'six' %}
                        <div style="display: inline-block;border: {% if v.apply == 'true' %} #0d8ddb {% else %} #cfcfcf {% endif %} solid 1px;width: 120px;vertical-align: bottom;margin-bottom: 12px;"></div>
                        <div style="display: inline-block;vertical-align: top;cursor: pointer;text-align: center;">
                            <div style="text-align: center;{% if v.apply == 'true' %} color: #0d8ddb; {% endif %}">
                                ({{ v.apply_people }})<br>
                                经济管理办公室
                            </div>
                            <div style="width: 25px;height: 25px;border-radius: 50%;{% if v.apply == 'true' %} background: #0d8ddb; {% else %} background: #cfcfcf; {% endif %}color: white;text-align: center;display: inline-block;font-size: 12px;line-height: 25px;">
                                {{ v.sear }}
                            </div>
                        </div>
                    {% endif %}
                {% endfor %}
            {% endif %}

            {% if 'seven' in flow_dict %}
                {% for k,v in flow_dict.items %}
                    {% if k == 'seven' %}
                        <div style="display: inline-block;border: {% if v.apply == 'true' %} #0d8ddb {% else %} #cfcfcf {% endif %} solid 1px;width: 120px;vertical-align: bottom;margin-bottom: 12px;"></div>
                        <div style="display: inline-block;vertical-align: top;cursor: pointer;text-align: center;">
                            <div style="text-align: center;{% if v.apply == 'true' %} color: #0d8ddb; {% endif %}">
                                ({{ v.apply_people }})<br>
                                财务科
                            </div>
                            <div style="width: 25px;height: 25px;border-radius: 50%;{% if v.apply == 'true' %} background: #0d8ddb; {% else %} background: #cfcfcf; {% endif %}color: white;text-align: center;display: inline-block;font-size: 12px;line-height: 25px;">
                                {{ v.sear }}
                            </div>
                        </div>
                    {% endif %}
                {% endfor %}
            {% endif %}

            <div style="display: inline-block;border: #0d8ddb solid 1px;width: 120px;vertical-align: bottom;margin-bottom: 12px;"></div>
            <div style="display: inline-block;vertical-align: top;cursor: pointer;text-align: center;">
                <div style="text-align: center;color: #0d8ddb;">
                    <span style="visibility: hidden;">({{ obj.user.real_name }})</span><br>
                    结束
                </div>
                <div style="width: 50px;height: 25px;border-radius: 3px;background: #0d8ddb;color: white;text-align: center;display: inline-block;font-size: 12px;line-height: 25px;">
                    ending
                </div>
            </div>
        </div>
    </div>

    <script type="text/javascript" src="../../static/personnel/TimeSelector/src/jedate.js"></script>
{#    <script language="javascript" src="../../static/personal_center/js/jquery.jqprint-0.3.js"></script>#}
    <script src="../../static/system_setup/creat_from/js/jquery-1.10.2.js"></script>
    <script>
        window.onload = function () {
            document.getElementById("loading").style.display = "none";
        }

        function change_mind(ele_id) {
            if (ele_id === "DW") {
                document.getElementById("DW").style.display = "inline-block";
                document.getElementById("DW_tag").className = "tab_top top_tag";
                document.getElementById("LH_tag").className = "tab_top";
                document.getElementById("LH").style.display = "none";
                document.getElementById("lct_tag").className = "tab_top";
                document.getElementById("lct").style.display = "none";
            } else if (ele_id === "LH"){
                document.getElementById("LH").style.display = "inline-block";
                document.getElementById("LH_tag").className = "tab_top top_tag";
                document.getElementById("DW_tag").className = "tab_top";
                document.getElementById("DW").style.display = "none";
                document.getElementById("lct_tag").className = "tab_top";
                document.getElementById("lct").style.display = "none";
            }else {
                document.getElementById("lct").style.display = "inline-block";
                document.getElementById("lct_tag").className = "tab_top top_tag";
                document.getElementById("DW_tag").className = "tab_top";
                document.getElementById("DW").style.display = "none";
                document.getElementById("LH_tag").className = "tab_top";
                document.getElementById("LH").style.display = "none";
            }
        }

        function chage_yulan(this_, file_path) {
            var fujian = document.getElementById("fujian");
            var file_index = file_path.lastIndexOf(".")
            var ext = file_path.substring(file_index+1)
            var arr=['jpg', 'JPG', "JPEG", "jpeg", "PNG", "png"];
            var ext_index=arr.indexOf(ext);
            if (ext_index === -1){
                fujian.innerHTML = '<embed id="embed_file" src="'+file_path+'" type="" style="width: 100%;height: 100%;">'
            }else {
                fujian.innerHTML = '<img src="' + file_path + '" alt="application/pdf" style="width: 800px;height: 100%;">'
            }

            var a_tag_list = document.getElementsByClassName("a_tag_cla");
            for (var i = 0;i<a_tag_list.length; i++){
                a_tag_list[i].style.background='';
            }
            this_.style.background='#cfcfcf';
        }
    </script>
</body>
</html>